package co.yixiang.modules.user.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @ClassName UserEditParam
 * @Author hupeng <610796224@qq.com>
 * @Date 2020/02/07
 **/
@Data
public class UserEditParam implements Serializable {

    //@NotBlank(message = "请上传头像")
    @ApiModelProperty(value = "用户头像")
    private String avatar;

    //@NotBlank(message = "请填写昵称")
    @Size(min = 1, max = 60,message = "长度超过了限制")
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    //@NotBlank(message = "请填写微信号")
    @ApiModelProperty(value = "微信号")
    private String wechatAccount;

    //@NotBlank(message = "请填写银行卡号")
    @ApiModelProperty(value = "银行卡号")
    private String bankCode;

    //@NotBlank(message = "请填写银行卡开户行名称")
    @ApiModelProperty(value = "银行卡开户行名称")
    private String bankName;

    //@NotBlank(message = "请填写银行卡开户人名称")
    @ApiModelProperty(value = "银行卡开户人名称")
    private String bankUserName;

    /** 身份证号码 */
    @ApiModelProperty(value = "身份证号码")
    private String cardId;


}
